package com.bucg.cjcloud.gb28181.common.repository;

import com.bucg.cjcloud.gb28181.common.entity.PlatformEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * ItemRepository..
 *
 * @author Lizhong
 * @date 2020/3/5
 */
@Repository
public interface PlatformRepository extends JpaRepository<PlatformEntity, Long> {
    // @Query(value = "select * from platform_entity where _device_i_d=?",nativeQuery = true)
    PlatformEntity findByDeviceId(String deviceId);
}
